package com.vehicle.service;

import com.vehicle.bean.RoleUser;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 校园车辆管理系统
 * @since 2023-05-28
 */
@Service
public interface RoleUserService extends IService<RoleUser> {

    //根据用户userId获取角色id
    public Integer getRoleIdByUserId(Integer id);

    //根据管理员adminId 获取角色id
    public Integer getRoleIdByAdminId(Integer id);
}
